package com.sudo.sso.server.constant;

import com.sudo.boot.base.constant.enums.BaseEnum;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum EnumLoginType implements BaseEnum<String> {

    PASSWORD("password","密码登录"),

    SCAN("scan","扫码登录");

    private final String code;
    private final String desc;

    @Override
    public String getCode() {
        return this.code;
    }

    @Override
    public String getDesc() {
        return this.desc;
    }
}
